package com.longbo.demostudy.mapper;

import com.longbo.demostudy.demo.charactor.Goods;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;
import java.util.Optional;

@Repository
public interface GoodsMapper {
List<Goods> selectGoodsListByParams(Map<String,Object> map);
List<Goods> selectAllGoods();
Goods selectById(Integer id);
Optional<Goods> selectOptionalById(Integer id);
}
